package com.cssl.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class History {
    @TableId(value = "hid")
    private Integer hid;
    private Integer uid;
    private String name;
    private double topupmoney;
    private double consumption;
    private double money;
    private String note;
    //@DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date time;
}
